package com.wn.common.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Destination {
    private Integer id;

    private Integer parentid;

    private String areaname;

    private String status;

    private Date createtime;

    private Integer createuserid;

    private Date updatetime;

    private Integer uptadeuserid;

    private String isDelete;

    private Float lng; //经度

    private Float lat; //维度

    private List<Destination> destinationsList;

    public Destination(Integer id, Integer parentid, String areaname, String status, Date createtime, Integer createuserid, Date updatetime, Integer uptadeuserid, String isDelete) {
        this.id = id;
        this.parentid = parentid;
        this.areaname = areaname;
        this.status = status;
        this.createtime = createtime;
        this.createuserid = createuserid;
        this.updatetime = updatetime;
        this.uptadeuserid = uptadeuserid;
        this.isDelete = isDelete;
    }

}
